package org.springblade.modules.admin.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Description 保养计划配置分页
 * @Author ysq
 * @Date 2021/9/24
 **/
@Data
@ApiModel(value = "MaintainPlanConfigPageVO对象", description = "保养计划配置分页")
public class MaintainPlanConfigPageVO {

	@ApiModelProperty(value = "小区id")
	private Long buildingId;

	private Integer type;

	@ApiModelProperty(value = "类型")
	private String typeName;

	@ApiModelProperty(value = "保养计划配置id")
	private Long maintainPlanConfigId;

	@ApiModelProperty(value = "名称")
	private String name;

	@ApiModelProperty(value = "电梯数")
	private Integer elevatorTatol;

	private String templateIds;

	private String zsTemplateIds;

	@ApiModelProperty(value = "维保模板")
	private List<Map<String,Object>> templates;

	@ApiModelProperty(value = "专项模板")
	private List<Map<String,Object>> zsTemplates;

	@ApiModelProperty(value = "关联组id")
	private Long groupId;

	@ApiModelProperty(value = "关联组")
	private String groupName;

	@ApiModelProperty(value = "负责人")
	private String director;

	@ApiModelProperty(value = "开始时间")
    private LocalDate startTime;

	@ApiModelProperty(value = "结束时间")
    private LocalDate endTime;

	@ApiModelProperty(value = "状态 1：正常，2：停用")
    private Integer status;

	@ApiModelProperty(value = "最后更新时间")
    private Date updateTime;
}
